<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<meta name="description" content="">
<meta name="author" content="">

<title>宾馆管理系统首页</title>
<!-- Bootstrap core CSS -->
<link
	href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
	rel="stylesheet">
<!-- Custom styles for this template -->
<%-- <link href="${pageContext.request.contextPath}/static/css/dashboard.css" rel="stylesheet"> --%>
<style type="text/css">
body {
	padding-top: 50px;
}

/*
 * Global add-ons
 */
.sub-header {
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
	border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
	display: none;
}

@media ( min-width : 768px) {
	.sidebar {
		position: fixed;
		top: 51px;
		bottom: 0;
		left: 0;
		z-index: 1000;
		display: block;
		padding: 20px;
		overflow-x: hidden;
		overflow-y: auto;
		/* Scrollable contents if viewport is shorter than content. */
		background-color: #f5f5f5;
		border-right: 1px solid #eee;
	}
}

/* Sidebar navigation */
.nav-sidebar {
	margin-right: -21px; /* 20px padding + 1px border */
	margin-bottom: 20px;
	margin-left: -20px;
}

.nav-sidebar>li>a {
	padding-right: 20px;
	padding-left: 20px;
}

.nav-sidebar>.active>a
.nav-sidebar>.active>a:hover {
	color: #fff;
	background-color: #428bca;
}

.nav-sidebar>.active>a:focus {
	color: #fff;
	background-color: #428bca;
}

/*
 * Main content
 */
.main {
	padding: 20px;
}

@media ( min-width : 768px) {
	.main {
		padding-right: 40px;
		padding-left: 40px;
	}
}

.main .page-header {
	margin-top: 0;
}

/*
 * Placeholder dashboard ideas
 */
.placeholders {
	margin-bottom: 30px;
	text-align: center;
}

.placeholders h4 {
	margin-bottom: 0;
}

.placeholder {
	margin-bottom: 20px;
}

.placeholder img {
	display: inline-block;
	border-radius: 50%;
}
</style>
</head>

<body>

	<nav class="navbar navbar-inverse navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed"
					data-toggle="collapse" data-target="#navbar" aria-expanded="false"
					aria-controls="navbar">
					<span class="sr-only">Toggle navigation</span> <span
						class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="#">宾馆管理系统首页</a>
			</div>
			<div id="navbar" class="navbar-collapse collapse">
				<ul class="nav navbar-nav navbar-right">
					<li><a href="#">个性化</a></li>
					<li><a href="#">设置</a></li>
					<li><a href="#">帮助</a></li>
					<li><a href="#">退出系统</a></li>
				</ul>
				<!-- 顶部搜索框 -->
				<form class="navbar-form navbar-right">
					<input type="text" class="form-control"
						placeholder="Search...（查你所爱，搜你所想！）">
				</form>
			</div>
		</div>
	</nav>

	<div class="container-fluid">
		<div class="row">
			<div class="col-sm-3 col-md-2 sidebar">
				<ul class="nav nav-sidebar">
					<li><span style="color: green;">(客房管理)</span></li>
					<li class="active"><a href="#">登记管理 <!-- <span class="sr-only">(current)</span> --></a></li>
					<li><a href="#">顾客消费</a></li>
					<li><a href="#">结账管理</a></li>
				</ul>
				<ul class="nav nav-sidebar">
					<li><span style="color: green;">(预定管理)</span></li>
					<li><a href="#">预定登记</a></li>
					<li><a href="${pageContext.request.contextPath}/bookManager/checkIn.jsp">确定入住</a></li>
					<li><a href="${pageContext.request.contextPath}/bookManager/relieveBook.jsp">解除预定</a></li>
					<li><a href="#">预定提醒</a></li>
				</ul>
				<ul class="nav nav-sidebar">
					<li><span style="color: green;">(基础信息设置)</span></li>
					<li><a href="#">消费品设置</a></li>
					<li><a href="#">客房类型设置</a></li>
					<li><a href="#">客房信息管理</a></li>
				</ul>
				<ul class="nav nav-sidebar">
					<li><span style="color: green;">(查询统计)</span></li>
					<li><a href="#">客房状态查询</a></li>
					<li><a href="#">收费记录查询</a></li>
				</ul>

				<ul class="nav nav-sidebar">
					<li><span style="color: green;">(系统管理)</span></li>
					<li><a href="#">用户权限管理</a></li>
				</ul>
			</div>
			<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
				<div>123</div>
			</div>
			<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
				<h1 class="page-header">预定登记</h1>

				<!-- 	<div class="row placeholders">
					<div class="col-xs-6 col-sm-3 placeholder">
						<img
							src=""
							width="200" height="200" class="img-responsive"
							alt="Generic placeholder thumbnail">
						<h4>Label</h4>
						<span class="text-muted">Something else</span>
					</div>
					<div class="col-xs-6 col-sm-3 placeholder">
						<img
							src=""
							width="200" height="200" class="img-responsive"
							alt="Generic placeholder thumbnail">
						<h4>Label</h4>
						<span class="text-muted">Something else</span>
					</div>
					<div class="col-xs-6 col-sm-3 placeholder">
						<img
							src=""
							width="200" height="200" class="img-responsive"
							alt="Generic placeholder thumbnail">
						<h4>Label</h4>
						<span class="text-muted">Something else</span>
					</div>
					<div class="col-xs-6 col-sm-3 placeholder">
						<img
							src=""
							width="200" height="200" class="img-responsive"
							alt="Generic placeholder thumbnail">
						<h4>Label</h4>
						<span class="text-muted">Something else</span>
					</div>
				</div>
 -->
				<div class="table-responsive">
					<table class="table table-striped">
						<thead>
							<tr>
								<th>ID</th>
								<th>房间号</th>
								<th>预定日期</th>
								<th>顾客姓名</th>
								<th>联系电话</th>
								<th>预抵时间</th>
								<th>预离时间</th>
								<th>操作员</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>001</td>
								<td>A1001</td>
								<td>2020/11/8</td>
								<td>圆圆</td>
								<td>10293817263</td>
								<td>2020/11/8</td>
								<td>2020/11/9</td>
								<td>员工3</td>
								<td><a href="../reserve/reserve_toEdit?rr_id=1">编辑</a> | <a
									href="../reserve/reserve_del?rr_id=1"
									onclick="return confirm('确认删除?')">删除</a></td>
							</tr>
							<tr>
								<td>002</td>
								<td>A1004</td>
								<td>2020/11/28</td>
								<td>小北</td>
								<td>18273629102</td>
								<td>2020/11/28</td>
								<td>2020/11/30</td>
								<td>员工3</td>
								<td><a href="../reserve/reserve_toEdit?rr_id=1">编辑</a> | <a
									href="../reserve/reserve_del?rr_id=1"
									onclick="return confirm('确认删除?')">删除</a></td>
							</tr>
							<tr>
								<td>003</td>
								<td>B2001</td>
								<td>2020/6/5</td>
								<td>南南</td>
								<td>19287364923</td>
								<td>2020/6/5</td>
								<td>2020/6/9</td>
								<td>员工6</td>
								<td><a href="../reserve/reserve_toEdit?rr_id=1">编辑</a> | <a
									href="../reserve/reserve_del?rr_id=1"
									onclick="return confirm('确认删除?')">删除</a></td>
							</tr>
							<tr>
								<td>004</td>
								<td>B2003</td>
								<td>2020/9/21</td>
								<td>嘉坡</td>
								<td>19287600673</td>
								<td>2020/9/21</td>
								<td>2020/9/30</td>
								<td>员工3</td>
								<td><a href="../reserve/reserve_toEdit?rr_id=1">编辑</a> | <a
									href="../reserve/reserve_del?rr_id=1"
									onclick="return confirm('确认删除?')">删除</a></td>
							</tr>
							<tr>
								<td>005</td>
								<td>A3001</td>
								<td>2020/3/1</td>
								<td>星星</td>
								<td>12987292736</td>
								<td>2020/3/1</td>
								<td>2020/3/10</td>
								<td>员工3</td>
								<td><a href="../reserve/reserve_toEdit?rr_id=1">编辑</a> | <a
									href="../reserve/reserve_del?rr_id=1"
									onclick="return confirm('确认删除?')">删除</a></td>
							</tr>
							<tr>
								<td>006</td>
								<td>C1001</td>
								<td>2020/8/29</td>
								<td>慕沐</td>
								<td>19273829018</td>
								<td>2020/8/29</td>
								<td>2020/8/30</td>
								<td>员工6</td>
								<td><a href="../reserve/reserve_toEdit?rr_id=1">编辑</a> | <a
									href="../reserve/reserve_del?rr_id=1"
									onclick="return confirm('确认删除?')">删除</a></td>
							</tr>
							<tr>
								<td>007</td>
								<td>C2003</td>
								<td>2020/5/22</td>
								<td>毛虫</td>
								<td>19203847182</td>
								<td>2020/5/22</td>
								<td>2020/5/24</td>
								<td>员工3</td>
								<td><a href="../reserve/reserve_toEdit?rr_id=1">编辑</a> | <a
									href="../reserve/reserve_del?rr_id=1"
									onclick="return confirm('确认删除?')">删除</a></td>
							</tr>
							<tr>
								<td>008</td>
								<td>A1005</td>
								<td>2020/7/6</td>
								<td>歪歪</td>
								<td>10283627819</td>
								<td>2020/7/6</td>
								<td>2020/7/7</td>
								<td>员工4</td>
								<td><a href="../reserve/reserve_toEdit?rr_id=1">编辑</a> | <a
									href="../reserve/reserve_del?rr_id=1"
									onclick="return confirm('确认删除?')">删除</a></td>
							</tr>
							<tr>
								<td>009</td>
								<td>A3005</td>
								<td>2020/2/19</td>
								<td>萱萱</td>
								<td>102987673526</td>
								<td>2020/2/19</td>
								<td>2020/2/21</td>
								<td>员工3</td>
								<td><a href="../reserve/reserve_toEdit?rr_id=1">编辑</a> | <a
									href="../reserve/reserve_del?rr_id=1"
									onclick="return confirm('确认删除?')">删除</a></td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>


	<table border="0" style="width: 100%">
		<tr>
			<td><a href="../reserve/reserve_toAdd">添加</a></td>
			<td align="right">当前1/1页， <span>首页</span> <span>上一页</span> <input
				id="num" type="text" style="width: 40px"> <a
				href="../reserve/reserve_getList?pageindex=" onclick="getNum(this)">跳转</a>


				<a href="../reserve/reserve_getList?pageindex=2">下一页</a> <a
				href="../reserve/reserve_getList?pageindex=1">尾页</a>

			</td>

		</tr>
	</table>
	<script type="text/javascript">
		function getNum(obj) {
			var num = document.getElementById("num").value;
			obj.href += num;
		}
	</script>


	<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
	<script
		src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>
